package com.yuyou.train.admin.vo.req;

import io.swagger.annotations.ApiModelProperty;

import org.hibernate.validator.constraints.NotBlank;

/**
 * Created by yujn.liu on 2018/1/22.
 */
public class ReqAuthUserAdd {

    @ApiModelProperty(value = "帐号")
    @NotBlank(message = "帐号(account)不能为空")
    private String account;

    @ApiModelProperty(value = "密码 md5 hash")
    @NotBlank(message = "密码(password)不能为空")
    private String password;

    @ApiModelProperty(value = "姓名")
    @NotBlank(message = "姓名(username) 不能为空")
    private String username;

    @ApiModelProperty(value = "手机号码")
    @NotBlank(message = "手机号码(phoneNo) 不能为空")
    private String phoneNo;

    @ApiModelProperty(value = "帐号状态 0:禁用 1:正常")
    private Integer status;

    @ApiModelProperty(value = "角色id")
    @NotBlank(message = "角色id (authRoleId) 不能为空")
    private String authRoleId;

    @ApiModelProperty(value = "区域id, 多个用逗号隔开")
    @NotBlank(message = "区域id (areaId) 不能为空")
    private String areaId;

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getAuthRoleId() {
        return authRoleId;
    }

    public void setAuthRoleId(String authRoleId) {
        this.authRoleId = authRoleId;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

}
